import App from './App.vue'
import './style.css'
import router from "./router/router.ts";
import '@arcgis/core/assets/esri/themes/dark/main.css'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
import ElementPlus from 'element-plus'
import {createApp} from "vue";

let app = createApp(App);
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}
app.use(ElementPlus, {locale: zhCn})
app.use(router)
app.mount('#app')

